package com.ruoyi.conference.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.conference.mapper.TbConferenceroomMapper;
import com.ruoyi.conference.domain.TbConferenceroom;
import com.ruoyi.conference.service.ITbConferenceroomService;

/**
 * 会议表管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
@Service
public class TbConferenceroomServiceImpl implements ITbConferenceroomService 
{
    @Autowired
    private TbConferenceroomMapper tbConferenceroomMapper;

    /**
     * 查询会议表管理
     * 
     * @param confereId 会议表管理主键
     * @return 会议表管理
     */
    @Override
    public TbConferenceroom selectTbConferenceroomByConfereId(Long confereId)
    {
        return tbConferenceroomMapper.selectTbConferenceroomByConfereId(confereId);
    }

    /**
     * 查询会议表管理列表
     * 
     * @param tbConferenceroom 会议表管理
     * @return 会议表管理
     */
    @Override
    public List<TbConferenceroom> selectTbConferenceroomList(TbConferenceroom tbConferenceroom)
    {
        return tbConferenceroomMapper.selectTbConferenceroomList(tbConferenceroom);
    }

    /**
     * 新增会议表管理
     * 
     * @param tbConferenceroom 会议表管理
     * @return 结果
     */
    @Override
    public int insertTbConferenceroom(TbConferenceroom tbConferenceroom)
    {
        return tbConferenceroomMapper.insertTbConferenceroom(tbConferenceroom);
    }

    /**
     * 修改会议表管理
     * 
     * @param tbConferenceroom 会议表管理
     * @return 结果
     */
    @Override
    public int updateTbConferenceroom(TbConferenceroom tbConferenceroom)
    {
        return tbConferenceroomMapper.updateTbConferenceroom(tbConferenceroom);
    }

    /**
     * 批量删除会议表管理
     * 
     * @param confereIds 需要删除的会议表管理主键
     * @return 结果
     */
    @Override
    public int deleteTbConferenceroomByConfereIds(Long[] confereIds)
    {
        return tbConferenceroomMapper.deleteTbConferenceroomByConfereIds(confereIds);
    }

    /**
     * 删除会议表管理信息
     * 
     * @param confereId 会议表管理主键
     * @return 结果
     */
    @Override
    public int deleteTbConferenceroomByConfereId(Long confereId)
    {
        return tbConferenceroomMapper.deleteTbConferenceroomByConfereId(confereId);
    }
}
